package backend.project.gym_management.pojo.dto;

import backend.project.gym_management.pojo.vo.AdminQueryEmployeeVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class EmployeeAddDTO extends AdminAdd {
    @ApiModelProperty("账号")
    @NotNull(message = "账号不能为空")
    private String account;

    @ApiModelProperty("密码")
    @NotNull(message = "密码不能为空")
    private String password;

    @ApiModelProperty("员工姓名")
    private String username;

    @ApiModelProperty("性别")
    private Character gender;

    @ApiModelProperty("年龄")
    private Integer age;

    @ApiModelProperty("职位")
    private AdminQueryEmployeeVO.Title title;
}
